package com.yiji.fintech.musfinance.common.domain.channel;

import com.acooly.core.utils.Money;
import com.acooly.core.utils.ToString;
import com.yiji.fintech.musfinance.common.enums.CalculateTypeEnum;
import com.yiji.fintech.musfinance.entity.InstChannelApi;
import lombok.Data;

/**
 * Created by ouwen@yiji.com} on 2017/9/22.
 */
@Data
public class InstChannelApiDomain extends InstChannelApi {
    /**
     * 金额规则类型*/
    private CalculateTypeEnum calculateType;
    /**
     * 规则金额*/
    private Money ruleAmount;
    /**
     * 优先级 */
    private Integer priority;
    /**
     * 流量权重 */
    private Integer weight;

    @Override
    public String toString() {
        return ToString.toString(this);
    }
}
